<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: thermometer类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../df/d6d/classthermometer-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">thermometer类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>温度计自定义控件  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a>&gt;</code></p>
<div class="dynheader">
类 thermometer 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/da1/classthermometer__inherit__graph.png" border="0" usemap="#athermometer_inherit__map" alt="Inheritance graph"/></div>
<map name="athermometer_inherit__map" id="athermometer_inherit__map">
<area shape="rect" title="温度计自定义控件" alt="" coords="5,123,171,581"/>
<area shape="rect" title=" " alt="" coords="56,5,120,75"/>
<area shape="poly" title=" " alt="" coords="91,90,91,123,85,123,85,90"/>
</map>
</div>
<div class="dynheader">
thermometer 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d4d/classthermometer__coll__graph.png" border="0" usemap="#athermometer_coll__map" alt="Collaboration graph"/></div>
<map name="athermometer_coll__map" id="athermometer_coll__map">
<area shape="rect" title="温度计自定义控件" alt="" coords="5,123,171,581"/>
<area shape="rect" title=" " alt="" coords="56,5,120,75"/>
<area shape="poly" title=" " alt="" coords="91,90,91,123,85,123,85,90"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6b371555ae3deaa8f063b951bbc2d121" id="r_a6b371555ae3deaa8f063b951bbc2d121"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6b371555ae3deaa8f063b951bbc2d121">thermometer</a> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:a6b371555ae3deaa8f063b951bbc2d121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a73213229f71102ca7343f8d40037b" id="r_ab8a73213229f71102ca7343f8d40037b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab8a73213229f71102ca7343f8d40037b">~thermometer</a> ()</td></tr>
<tr class="separator:ab8a73213229f71102ca7343f8d40037b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a273193fd18a89ddb8718581751ed4f4c" id="r_a273193fd18a89ddb8718581751ed4f4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a273193fd18a89ddb8718581751ed4f4c">setTile</a> (const QString &amp;title, Qt::Alignment aligment)</td></tr>
<tr class="memdesc:a273193fd18a89ddb8718581751ed4f4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置标题栏  <br /></td></tr>
<tr class="separator:a273193fd18a89ddb8718581751ed4f4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a388c91333df7a5fde2d0e4a2ec30a39d" id="r_a388c91333df7a5fde2d0e4a2ec30a39d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a388c91333df7a5fde2d0e4a2ec30a39d">setScaleColor</a> (const QColor &amp;<a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a>)</td></tr>
<tr class="separator:a388c91333df7a5fde2d0e4a2ec30a39d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5eea5c2559a285eed5ee60acc3a3232" id="r_ae5eea5c2559a285eed5ee60acc3a3232"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae5eea5c2559a285eed5ee60acc3a3232">setScaleRange</a> (long s, long d)</td></tr>
<tr class="separator:ae5eea5c2559a285eed5ee60acc3a3232"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28864a72e9cb2667ddbcdb00d7b794fe" id="r_a28864a72e9cb2667ddbcdb00d7b794fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a28864a72e9cb2667ddbcdb00d7b794fe">setRange</a> (float l, float h)</td></tr>
<tr class="separator:a28864a72e9cb2667ddbcdb00d7b794fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ca9d6c1dc5bf35dc10ebb33649e12a" id="r_a02ca9d6c1dc5bf35dc10ebb33649e12a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a02ca9d6c1dc5bf35dc10ebb33649e12a">setHgColor</a> (const QColor &amp;<a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a>)</td></tr>
<tr class="memdesc:a02ca9d6c1dc5bf35dc10ebb33649e12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">setHgColor  <br /></td></tr>
<tr class="separator:a02ca9d6c1dc5bf35dc10ebb33649e12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b50640133220f88ee799a5f914eb80" id="r_af4b50640133220f88ee799a5f914eb80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af4b50640133220f88ee799a5f914eb80">setMeterBackgroud</a> (const QColor &amp;<a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a>)</td></tr>
<tr class="memdesc:af4b50640133220f88ee799a5f914eb80"><td class="mdescLeft">&#160;</td><td class="mdescRight">setMeterBackgroud  <br /></td></tr>
<tr class="separator:af4b50640133220f88ee799a5f914eb80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8822d8e6b067928151ea9512b603e24" id="r_af8822d8e6b067928151ea9512b603e24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af8822d8e6b067928151ea9512b603e24">setBackGround</a> (const QColor &amp;<a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a>)</td></tr>
<tr class="separator:af8822d8e6b067928151ea9512b603e24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a4d32fa4c442673ed2eb460aee5ffb" id="r_a48a4d32fa4c442673ed2eb460aee5ffb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a48a4d32fa4c442673ed2eb460aee5ffb">setTitleFont</a> (const QFont &amp;<a class="el" href="#a9bc72f5769817804b2969f7e67380764">f</a>, const QColor &amp;<a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a>, long s)</td></tr>
<tr class="separator:a48a4d32fa4c442673ed2eb460aee5ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f467d70748ac16d61ce29db43cf6958" id="r_a9f467d70748ac16d61ce29db43cf6958"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9f467d70748ac16d61ce29db43cf6958">setScaleFont</a> (const QFont &amp;<a class="el" href="#a9bc72f5769817804b2969f7e67380764">f</a>, const QColor &amp;<a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a>, long s)</td></tr>
<tr class="separator:a9f467d70748ac16d61ce29db43cf6958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9935e1bbdf44d17440ee20f85989f365" id="r_a9935e1bbdf44d17440ee20f85989f365"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9935e1bbdf44d17440ee20f85989f365">enableTitle</a> (bool en)</td></tr>
<tr class="separator:a9935e1bbdf44d17440ee20f85989f365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a135eb60bdc4e4379d23d0e175856bc99" id="r_a135eb60bdc4e4379d23d0e175856bc99"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a135eb60bdc4e4379d23d0e175856bc99">enableC</a> (bool en)</td></tr>
<tr class="memdesc:a135eb60bdc4e4379d23d0e175856bc99"><td class="mdescLeft">&#160;</td><td class="mdescRight">允许或者不允许摄氏度  <br /></td></tr>
<tr class="separator:a135eb60bdc4e4379d23d0e175856bc99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f1dccc3e79d598e20d02fc226205b5" id="r_a78f1dccc3e79d598e20d02fc226205b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a78f1dccc3e79d598e20d02fc226205b5">enableF</a> (bool en)</td></tr>
<tr class="memdesc:a78f1dccc3e79d598e20d02fc226205b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">允许或者不允许华氏度  <br /></td></tr>
<tr class="separator:a78f1dccc3e79d598e20d02fc226205b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad01e966cda5b2a1dd682f71ed1950f0e" id="r_ad01e966cda5b2a1dd682f71ed1950f0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad01e966cda5b2a1dd682f71ed1950f0e">c</a> (float v)</td></tr>
<tr class="memdesc:ad01e966cda5b2a1dd682f71ed1950f0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">指定数据  <br /></td></tr>
<tr class="separator:ad01e966cda5b2a1dd682f71ed1950f0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bc72f5769817804b2969f7e67380764" id="r_a9bc72f5769817804b2969f7e67380764"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9bc72f5769817804b2969f7e67380764">f</a> (float v)</td></tr>
<tr class="separator:a9bc72f5769817804b2969f7e67380764"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>温度计自定义控件 </p>
<dl class="section version"><dt>版本</dt><dd>1.0 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2023-1-15 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00013">13</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a6b371555ae3deaa8f063b951bbc2d121" name="a6b371555ae3deaa8f063b951bbc2d121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b371555ae3deaa8f063b951bbc2d121">&#9670;&#160;</a></span>thermometer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">thermometer::thermometer </td>
          <td>(</td>
          <td class="paramtype">QWidget *</td>          <td class="paramname"><span class="paramname"><em>parent</em></span><span class="paramdefsep"> = </span><span class="paramdefval">nullptr</span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00005">5</a> 行定义.</p>

</div>
</div>
<a id="ab8a73213229f71102ca7343f8d40037b" name="ab8a73213229f71102ca7343f8d40037b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8a73213229f71102ca7343f8d40037b">&#9670;&#160;</a></span>~thermometer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">thermometer::~thermometer </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ad01e966cda5b2a1dd682f71ed1950f0e" name="ad01e966cda5b2a1dd682f71ed1950f0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad01e966cda5b2a1dd682f71ed1950f0e">&#9670;&#160;</a></span>c()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::c </td>
          <td>(</td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>v</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>指定数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00261">261</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dfe/classthermometer_ad01e966cda5b2a1dd682f71ed1950f0e_icgraph.png" border="0" usemap="#ad4/dfe/classthermometer_ad01e966cda5b2a1dd682f71ed1950f0e_icgraph" alt=""/></div>
<map name="ad4/dfe/classthermometer_ad01e966cda5b2a1dd682f71ed1950f0e_icgraph" id="ad4/dfe/classthermometer_ad01e966cda5b2a1dd682f71ed1950f0e_icgraph">
<area shape="rect" title="指定数据" alt="" coords="269,81,378,108"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#af8822d8e6b067928151ea9512b603e24" title=" " alt="" coords="17,5,209,32"/>
<area shape="poly" title=" " alt="" coords="284,76,220,46,182,35,184,30,222,42,286,71"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#a02ca9d6c1dc5bf35dc10ebb33649e12a" title="setHgColor" alt="" coords="29,56,197,83"/>
<area shape="poly" title=" " alt="" coords="253,89,197,82,198,77,254,84"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#af4b50640133220f88ee799a5f914eb80" title="setMeterBackgroud" alt="" coords="5,107,221,133"/>
<area shape="poly" title=" " alt="" coords="254,106,222,110,221,104,253,100"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#a388c91333df7a5fde2d0e4a2ec30a39d" title=" " alt="" coords="21,157,205,184"/>
<area shape="poly" title=" " alt="" coords="286,118,222,148,184,159,182,154,220,143,284,113"/>
</map>
</div>

</div>
</div>
<a id="a135eb60bdc4e4379d23d0e175856bc99" name="a135eb60bdc4e4379d23d0e175856bc99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a135eb60bdc4e4379d23d0e175856bc99">&#9670;&#160;</a></span>enableC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::enableC </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>en</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>允许或者不允许摄氏度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">en</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00249">249</a> 行定义.</p>

</div>
</div>
<a id="a78f1dccc3e79d598e20d02fc226205b5" name="a78f1dccc3e79d598e20d02fc226205b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78f1dccc3e79d598e20d02fc226205b5">&#9670;&#160;</a></span>enableF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::enableF </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>en</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>允许或者不允许华氏度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">en[</td><td>I ] </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00255">255</a> 行定义.</p>

</div>
</div>
<a id="a9935e1bbdf44d17440ee20f85989f365" name="a9935e1bbdf44d17440ee20f85989f365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9935e1bbdf44d17440ee20f85989f365">&#9670;&#160;</a></span>enableTitle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::enableTitle </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>en</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00066">66</a> 行定义.</p>

</div>
</div>
<a id="a9bc72f5769817804b2969f7e67380764" name="a9bc72f5769817804b2969f7e67380764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bc72f5769817804b2969f7e67380764">&#9670;&#160;</a></span>f()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::f </td>
          <td>(</td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>v</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00266">266</a> 行定义.</p>

</div>
</div>
<a id="af8822d8e6b067928151ea9512b603e24" name="af8822d8e6b067928151ea9512b603e24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8822d8e6b067928151ea9512b603e24">&#9670;&#160;</a></span>setBackGround()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setBackGround </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;</td>          <td class="paramname"><span class="paramname"><em>c</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00063">63</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dfe/classthermometer_af8822d8e6b067928151ea9512b603e24_cgraph.png" border="0" usemap="#ad4/dfe/classthermometer_af8822d8e6b067928151ea9512b603e24_cgraph" alt=""/></div>
<map name="ad4/dfe/classthermometer_af8822d8e6b067928151ea9512b603e24_cgraph" id="ad4/dfe/classthermometer_af8822d8e6b067928151ea9512b603e24_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,198,32"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#ad01e966cda5b2a1dd682f71ed1950f0e" title="指定数据" alt="" coords="246,5,355,32"/>
<area shape="poly" title=" " alt="" coords="198,16,230,16,230,21,198,21"/>
</map>
</div>

</div>
</div>
<a id="a02ca9d6c1dc5bf35dc10ebb33649e12a" name="a02ca9d6c1dc5bf35dc10ebb33649e12a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02ca9d6c1dc5bf35dc10ebb33649e12a">&#9670;&#160;</a></span>setHgColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setHgColor </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;</td>          <td class="paramname"><span class="paramname"><em>c</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>setHgColor </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00057">57</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dfe/classthermometer_a02ca9d6c1dc5bf35dc10ebb33649e12a_cgraph.png" border="0" usemap="#ad4/dfe/classthermometer_a02ca9d6c1dc5bf35dc10ebb33649e12a_cgraph" alt=""/></div>
<map name="ad4/dfe/classthermometer_a02ca9d6c1dc5bf35dc10ebb33649e12a_cgraph" id="ad4/dfe/classthermometer_a02ca9d6c1dc5bf35dc10ebb33649e12a_cgraph">
<area shape="rect" title="setHgColor" alt="" coords="5,5,174,32"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#ad01e966cda5b2a1dd682f71ed1950f0e" title="指定数据" alt="" coords="222,5,331,32"/>
<area shape="poly" title=" " alt="" coords="174,16,206,16,206,21,174,21"/>
</map>
</div>

</div>
</div>
<a id="af4b50640133220f88ee799a5f914eb80" name="af4b50640133220f88ee799a5f914eb80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4b50640133220f88ee799a5f914eb80">&#9670;&#160;</a></span>setMeterBackgroud()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setMeterBackgroud </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;</td>          <td class="paramname"><span class="paramname"><em>c</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>setMeterBackgroud </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00062">62</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dfe/classthermometer_af4b50640133220f88ee799a5f914eb80_cgraph.png" border="0" usemap="#ad4/dfe/classthermometer_af4b50640133220f88ee799a5f914eb80_cgraph" alt=""/></div>
<map name="ad4/dfe/classthermometer_af4b50640133220f88ee799a5f914eb80_cgraph" id="ad4/dfe/classthermometer_af4b50640133220f88ee799a5f914eb80_cgraph">
<area shape="rect" title="setMeterBackgroud" alt="" coords="5,5,221,32"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#ad01e966cda5b2a1dd682f71ed1950f0e" title="指定数据" alt="" coords="269,5,378,32"/>
<area shape="poly" title=" " alt="" coords="221,16,253,16,253,21,221,21"/>
</map>
</div>

</div>
</div>
<a id="a28864a72e9cb2667ddbcdb00d7b794fe" name="a28864a72e9cb2667ddbcdb00d7b794fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28864a72e9cb2667ddbcdb00d7b794fe">&#9670;&#160;</a></span>setRange()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setRange </td>
          <td>(</td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>l</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>h</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00052">52</a> 行定义.</p>

</div>
</div>
<a id="a388c91333df7a5fde2d0e4a2ec30a39d" name="a388c91333df7a5fde2d0e4a2ec30a39d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a388c91333df7a5fde2d0e4a2ec30a39d">&#9670;&#160;</a></span>setScaleColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setScaleColor </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;</td>          <td class="paramname"><span class="paramname"><em>c</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00050">50</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dfe/classthermometer_a388c91333df7a5fde2d0e4a2ec30a39d_cgraph.png" border="0" usemap="#ad4/dfe/classthermometer_a388c91333df7a5fde2d0e4a2ec30a39d_cgraph" alt=""/></div>
<map name="ad4/dfe/classthermometer_a388c91333df7a5fde2d0e4a2ec30a39d_cgraph" id="ad4/dfe/classthermometer_a388c91333df7a5fde2d0e4a2ec30a39d_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,190,32"/>
<area shape="rect" href="../../d4/dfe/classthermometer.html#ad01e966cda5b2a1dd682f71ed1950f0e" title="指定数据" alt="" coords="238,5,347,32"/>
<area shape="poly" title=" " alt="" coords="190,16,222,16,222,21,190,21"/>
</map>
</div>

</div>
</div>
<a id="a9f467d70748ac16d61ce29db43cf6958" name="a9f467d70748ac16d61ce29db43cf6958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f467d70748ac16d61ce29db43cf6958">&#9670;&#160;</a></span>setScaleFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setScaleFont </td>
          <td>(</td>
          <td class="paramtype">const QFont &amp;</td>          <td class="paramname"><span class="paramname"><em>f</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;</td>          <td class="paramname"><span class="paramname"><em>c</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>s</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00280">280</a> 行定义.</p>

</div>
</div>
<a id="ae5eea5c2559a285eed5ee60acc3a3232" name="ae5eea5c2559a285eed5ee60acc3a3232"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5eea5c2559a285eed5ee60acc3a3232">&#9670;&#160;</a></span>setScaleRange()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setScaleRange </td>
          <td>(</td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>d</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00051">51</a> 行定义.</p>

</div>
</div>
<a id="a273193fd18a89ddb8718581751ed4f4c" name="a273193fd18a89ddb8718581751ed4f4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a273193fd18a89ddb8718581751ed4f4c">&#9670;&#160;</a></span>setTile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setTile </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;</td>          <td class="paramname"><span class="paramname"><em>title</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::Alignment</td>          <td class="paramname"><span class="paramname"><em>aligment</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置标题栏 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td></td></tr>
    <tr><td class="paramname">aligment</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a> 第 <a class="el" href="../../d9/db3/thermometer_8h_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<a id="a48a4d32fa4c442673ed2eb460aee5ffb" name="a48a4d32fa4c442673ed2eb460aee5ffb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48a4d32fa4c442673ed2eb460aee5ffb">&#9670;&#160;</a></span>setTitleFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void thermometer::setTitleFont </td>
          <td>(</td>
          <td class="paramtype">const QFont &amp;</td>          <td class="paramname"><span class="paramname"><em>f</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;</td>          <td class="paramname"><span class="paramname"><em>c</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>s</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a> 第 <a class="el" href="../../d0/d3d/thermometer_8cpp_source.html#l00272">272</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/QT/<a class="el" href="../../d9/db3/thermometer_8h_source.html">thermometer.h</a></li>
<li>src/QT/<a class="el" href="../../d0/d3d/thermometer_8cpp_source.html">thermometer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
